/**
 * Created by Panda on 16/01/2017
 */
(function () {
    'use strict';

    angular
        .module('com.akxx.aqzyk')
        .factory('_Student',_Student);


    /** @ngInject */
    function _Student(Resource) {
        return {
            ClassList:Resource("cocservice/query/tm_sm_class_info"),
            StudentList:Resource("cocservice/query/tm_sm_student_info"),
            NewStudent:Resource("cocservice/create/tm_sm_student_info"),
            NewClass:Resource("cocservice/create/tm_sm_class_info"),
            DelStudent:Resource("cocservice/delete/tm_sm_student_info"),
            VisitStudent:Resource("cocservice/get/tm_sm_student_info"),
            VisitClass:Resource("cocservice/get/tm_sm_class_info"),
            DelClass:Resource("cocservice/get/tm_sm_student_info"),
            EditStudent:Resource("cocservice/update/tm_sm_student_info"),
            EditClass:Resource("cocservice/update/tm_sm_class_info"),
        };
    }
})();
